﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
//using System.Collections.Generic;
//using System.Linq;
//using System.Web;

namespace GKS.WtcrMvc.Models {
    public class ContactMetadata {
        [DisplayName("Contact ID")]
        [Key]
        [ReadOnly(true)]
        public Guid Id { get; set; }

        [DisplayName("Full Name")]
        [StringLength(100)]
        [Description("The full name of the contact")]
        public string FullName { get; set; }

        [DisplayName("Created In")]
        [DataType(DataType.DateTime)]
        [ReadOnly(true)]
        public System.DateTime CreatedIn { get; set; }

        [DisplayName("Last Update")]
        [DataType(DataType.DateTime)]
        [ReadOnly(true)]
        public System.DateTime LastUpdate { get; set; }
    }

    public class CompanyMetadata {
        [DisplayName("Company ID")]
        [Key]
        [ReadOnly(true)]
        public System.Guid Id { get; set; }

        [DisplayName("Contact ID")]
        public System.Guid ContactId { get; set; }

        [DisplayName("VAT Code")]
        [StringLength(32)]
        public string VAT { get; set; }

        [DisplayName("Created In")]
        [DataType(DataType.DateTime)]
        [ReadOnly(true)]
        public System.DateTime CreatedIn { get; set; }

        [DisplayName("Last Update")]
        [DataType(DataType.DateTime)]
        [ReadOnly(true)]
        public System.DateTime LastUpdate { get; set; }
    }
}